package my.bank;

import javax.jws.WebMethod;
import javax.jws.WebService;



import ema.tpjee.banking.dao.local.BankDaoImpl;
import ema.tpjee.banking.test.TestBank;

@WebService()
public class BankService {

	@WebMethod()
	public String sayHello(String name) {
	    System.out.println("Hello: " + name);
	    return "Hello " + name + "!";
	}
	
	@WebMethod()
	public BankDaoImpl getBankDao() {
	    return new BankDaoImpl();
	}
	
	
	@WebMethod()
	public TestBank getTestBank() {
	    return new TestBank();
	}
}
